package top.littlejiang.onlinexam.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import top.littlejiang.onlinexam.entity.OlexamClass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 班级表 Mapper 接口
 * </p>
 *
 * @author chen
 * @since 2021-03-11
 */
public interface OlexamClassMapper extends BaseMapper<OlexamClass> {

    /**
     * 分页查询
     * @param p
     * @param wrapper
     * @return
     */
    IPage<OlexamClass> getClassListPage(Page<OlexamClass> p, @Param(Constants.WRAPPER) QueryWrapper<OlexamClass> wrapper);
}
